<%@page import="com.wowangz.cms.common.utils.DictTypeConstant"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/pageHead.jsp"%>
<c:set value="<%=SysConstant.CommonApproveStatus.SAVED %>" var="state"></c:set>
<c:set value="<%=SysConstant.CommonApproveStatus.REFUSED %>" var="refuse"></c:set>

<link rel="stylesheet" type="text/css" href="${systemctx}/resources/ztree/css/zTreeStyle/zTreeStyle.css">
<script type="text/javascript" src="${systemctx }/resources/ztree/js/jquery.ztree.core-3.5.js"></script>
<script type="text/javascript" src="${systemctx }/resources/ztree/js/jquery.ztree.excheck-3.5.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$("#display").selectutil({
			optModel : <%=SysConstant.Display.getMode1JSONString(true, false)%>,
			optDefault :'${column.display}'
		});
		$("#parentcolumnname").click(function(){
			$("#columnTree").css('display','block').css('left',$(this).offset().left);
		});
		
		$(".treeColumn").mouseleave(function(){
			$(".treeColumn").css('display','none');
		});
		
		$("#butReturn").click(function(){
			parent.document.location.reload();
			$.fn.closeIssWindow();
		});
	});
</script>
<form name="form1" id="form1" action="" method="post">
	<div class="pageMain">
		<div class="pageTitle">
			<%=MessageResourcesUtils.getMessage(request, "systemmanage.contentmanagement.title")%>
			<span></span>
			<%=MessageResourcesUtils.getMessage(request, "topic.column.title") %>
			<span></span>
			<%=MessageResourcesUtils.getMessage(request, "topic.column.module.view.title") %>
		</div>
		<div class="pageBody">
			<div class="form-group">
				<ul>
					<li>
						<i></i> 
						<label>
							<%=MessageResourcesUtils.getMessage(request, "topic.column.col.colunmcode") %>
						</label>
						<span>
							${column.columncode}
						</span>
					</li>
					<li>
						<i></i> 
						<label>
							<!-- 栏目名称 -->
							<%=MessageResourcesUtils.getMessage(request, "topic.column.col.columnname") %>
						</label>
						<span>
							${column.columnname}
						</span>
					</li>
				</ul>
				<ul>
					<li>
						<i></i> 
						<label>
							<!-- 上级栏目 -->
							<%=MessageResourcesUtils.getMessage(request, "topic.column.col.parentcolumnname") %>
						</label>
						<span>
							${parentcolumnname}
						</span>		
					</li>
					<li>
						<i></i> 
						<label>
							<!-- 是否显示 -->
							<%=MessageResourcesUtils.getMessage(request, "topic.column.col.display") %>
						</label>
						<span>
							${display}
						</span>
					</li>
				</ul>
			</div>
			<div class="button-group">
				<input type="button" class="btn btn-default" id="butReturn" name="butReturn" value='<%=MessageResourcesUtils.getMessage(request, "common.button.back") %>' />
			</div>
		</div>
	</div>
</form>

<%-- 引入页面尾 --%>
<%@ include file="/pageFloor.jsp"%>